package com.yjps.company.model;

import com.yjps.common.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by 麒全 on 2015/8/18.
 */
@Entity
@Table(name = "t_action")
public class MarketAction extends BaseModel {
    @Column(name = "action_title",nullable = false)
    private String Title;
    @Column(name = "action_content",nullable = false)
    private String Content;
    @Column(name = "action_time",nullable = false)
    private String Time;
    @Column(name = "action_state")
    private boolean State;
    @Column(name = "user_id",nullable = false)
    private int userId;

    public String getTitle() {
        return Title;
    }

    public void setTitle(String title) {
        Title = title;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        Content = content;
    }

    public String getTime() {
        return Time;
    }

    public void setTime(String time) {
        Time = time;
    }

    public boolean isState() {
        return State;
    }

    public void setState(boolean state) {
        State = state;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
